package de.joergviola.mobj.shared;

import java.util.ArrayList;
import java.util.List;

public class EntityHelper {
	public static List<Long> parseLongArray(String array) {
		array = array.substring(1, array.length() - 2);
		String[] numbers = array.split(" ,");
		ArrayList<Long> result = new ArrayList<Long>();
		for (int i = 0; i < numbers.length; i++) {
			result.add(new Long(numbers[i]));
		}
		return result;
	}
}
